<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>产品中心</title>
    <link rel="icon" href="../img/10673188_124214934081_2.jpg" type="img/x-ico">
    <link rel="stylesheet" href="../css/product.css">
    <link rel="stylesheet" href="../css/common.css">
<%--    <script src="../js/jquery-3.6.3.min.js"></script>
    <script src="../js/common.js"></script>--%>

</head>
<body class="body justify-content-center">
    <div>
        <jsp:include page="top.jsp"/>
        <div class="mid justify-content-center">
            <div>
                <div class="justify-content-between">
                    <div class="title justify-content-left align-items-center">
                        <div>产品中心</div>
                        <div>PRODUCT DISPLAY</div>
                    </div>
                    <div class="justify-content-between align-items-center">
                        <c:forEach items="${productTypeModelsList}" var="model">
                            <div>${model.name}</div>
                        </c:forEach>
                    </div>
                </div>
                <div class="product">
                    <div class="justify-content-between">
                        <c:forEach items="${productModelList}" var="model">
                            <div>
                                <div><img src="${model.img}"></div>
                                <div>${model.name}</div>
                                <div>
                                    <div>市场价:</div>
                                    <div>${model.marketPrice}</div>
                                </div>
                                <div>
                                    <div>价格:</div>
                                    <div>${model.currentPrice}</div>
                                </div>
                            </div>
                        </c:forEach>
                    </div>
                </div>
            </div>
        </div>
        <jsp:include page="foot.jsp"/>
    </div>

</body>
</html>